package com.yunsc.product.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yunsc.common.serializer.TimestampToDateSerializer;
import lombok.Data;

/**
 * 商品规格值记录表
 *
 * @author adan 2028038953@qq.com
 * @since 1.0.0 2024-04-04
 */
@Data
@TableName("yunsc_spec_value")
public class YunscSpecValueEntity {

    /**
     * 规格值ID
     */
    @TableId
	private Integer specValueId;
    /**
     * 规格值
     */
	private String specValue;
    /**
     * 规格组ID
     */
	private Integer specId;
    /**
     * 商城ID
     */
	private Integer storeId;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonSerialize(using = TimestampToDateSerializer.class)
	private Integer createTime;
}